Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress 'git fetch --unshallow' error #11

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

micnncim
Copy link
Member

What this PR does / Why we need it

Suppress git fetch --unshallow's error with || true.

When fetch-depth == 0 in actions/checkout as follows:

      - uses: actions/checkout@v2
        with:
          fetch-depth: 0

This action omits the following error and exits with the status code 128 since the repository is a complete one.

fatal: --unshallow on a complete repository does not make sense

@micnncim micnncim added the release/minor Indicates minor update to action-release-label label Sep 18, 2020
@github-actions
Copy link

This PR will update actions-ecosystem/action-get-latest-tag from v1.3.0 to v1.4.0 🚀

If this update isn't as you expected, you may want to change or remove the release label.

@micnncim micnncim merged commit 2ddc5e7 into master Sep 18, 2020
@micnncim micnncim deleted the supress-unshallow-fetch-error branch September 18, 2020 09:15
@github-actions
Copy link

The new version v1.4.0 has been released 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/minor Indicates minor update to action-release-label size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant